import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入初始化样式
import '@/styles/common.less'
// 引入全局插件
import componentsPlugin from '@/components'
// 引入定义的全局指令插件
import directivePlugin from '@/directives/index.js'
// import request from './utiles/request.js'
// 测试request
// request('/login', 'post', { mobile: '13400000000', password: '123456' })
// store.commit('user/setProfile')

createApp(App).use(store).use(router).use(componentsPlugin).use(directivePlugin).mount('#app')
